<cpanel include="../../config.php">

<?

/***************************************************************************
 *                                 dns_lookup_look.php
 *                            -------------------
 *   Begin                : Thursday, April 16, 2005
 *   Copyright            : (C) 2005 Point and Code
 *   Domain               : http://www.pointandcode.com/
 *   Email                : support@pointandcode.com
 *   Version              : 1.0.1
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

$html_root_path = '../../';
include $root_path.'common.php';
$page_title = $lang['dns_lookup'];
include $root_path.'page_header.php';

$template->set_filenames(array(
	'body' => $root_path.$template_path.'server/dns_lookup_look.tpl')
);

$dns_results = <<<EOFpacman
<cpanel Net="dnslookup($FORM{'dns'})">
EOFpacman;

$dns_results = nl2br($dns_results);

$dns_zone = <<<EOFpacman
<cpanel Net="dnszone($FORM{'dns'})">
EOFpacman;

$dns_zone = nl2br($dns_zone);

$template->assign_vars(array(
	'DNS_RESULTS' => $dns_results,
	'DNS_ZONE' => $dns_zone,
	'DOMAIN' => $dns,
	
	'L_DNS_LOOKUP' => $lang['dns_lookup'],
	'L_RESULTS' => $lang['results'],
	'L_DNS_LOOKUP_INTRO' => sprintf($lang['dns_lookup_results_intro'], $dns),
	'L_DNS_RESULTS' => $lang['dns_results'],
	'L_DNS_ZONE_INFO' => $lang['dns_zone_info'],
));

//
// Woohoo! All done!
//
$template->pparse('body');


include $root_path.'page_tail.php';




?>